package com.example.movieratingbackend.model;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class MovieData implements Serializable {

    List<String> genres;
    List<Movie> movies;


    @Data

    public static class MovieDetail {
        String id;
        String title;
        String year;
        String runtime;
        List<String> genres;
        String director;
        String actors;
        String plot;
        String posterUrl;
    }
}
